package com.platform.hjt.sys.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hjt.tools.dao.PropertyFilter;
import com.platform.hjt.base.controller.BaseController;
import com.platform.hjt.sys.model.SysPosition;
import com.platform.hjt.sys.service.SysPositionService;

@Controller
@RequestMapping(value="/sysPosition")
public class SysPositionController extends BaseController{

	@Resource
	private SysPositionService sysPositionService;
	
	@RequestMapping(value="/sysPosition_list.do")
	@ResponseBody
	public List<SysPosition> sysPositionListDo(){
		List<PropertyFilter>  propertyFilterList = PropertyFilter.buildFromHttpRequest(getRequest());
		return sysPositionService.getSysPositionList(propertyFilterList);
	}
	
}
